; Fixing the motor screws
M291 R"Z Motor Screw Tightening" P"Lower the build plate and tighten the Z motor mounting screws" S4 K{"Test","Skip","Cancel"}
if input == 1
    M99
elif input == 2
    abort "Test cancelled by user"

M84 Z ; Disable Z motors
G91 ; Relative positioning

M564 H0 ; Allow movement without homing
M291 R"Position Build Plate" P"Lower the build plate and hold the Z motors from below while tightening the mounting screws." Z1 S2
M564 H1 ; Re-enable movement restrictions

G90 ; Absolute positioning
M84